<style type="text/css">
	.m-main-z .form_z{
		width: 450px;
		float: left;
	}
	
	.form_z {
		padding: 0 0 0 50px;
	}
	.m-main-z .pass-message{
		width: 600px;
		float: left;
	}
	input {
		width: 574px;
		height: 30px;
	}
	.control-group {
		float: left;
		margin-right: 48px;
	}
	#con {
		margin-top: 15px;
		display: block;
	}
	.pass-message label {
		line-height: 35px;
	}
</style>
<php>if($kaka){</php>
<div class="span2">
	<div class="columns-mod">
		<div class="hd cf">
			<h5>留言板</h5>
			<div class="title-opt">
			</div>
		</div>
		<div class="bd" style="height: 300px;">
			<div class="sys-info">
				<div class="form_z">
					<form method="post" action="{:addons_url('messages://Messages/upmessage')}" class="form-horizontal">
					<input type="hidden" name="uid" value="{:is_login()}">
					<input type="hidden" name="name" value="{:get_nickname()}">
					  <!-- <div class="control-group">
					    <label class="control-label" for="inputText">昵称</label>
					    <div class="controls">
					      <input type="text" id="inputText" name="name" placeholder="您的称呼">
					    </div>
					  </div> -->
					  <div class="control-group">
					    <label class="control-label" for="inputText">联系方式</label>
					    <div class="controls">
					      <input type="text" id="inputText" name="link" placeholder="QQ,电话,邮箱">
					    </div>
					  </div>

					   <div class="control-group" id="con">
					       <label class="control-label" for="inputText">留言内容</label>
					    <div class="controls">
					      <textarea name="content" rows="5" cols="80"></textarea>
					    </div>
					    
					   </div>

					 
					  <div class="control-group">
					    <div class="controls">
					      <button type="submit" class="btn">提交</button>
					    </div>
					  </div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="span2">
<php>}</php>
	<div class="columns-mod">
		<div class="hd cf">
			<h5>留言內容</h5>
			<div class="title-opt">
			</div>
		</div>
		<div class="bd" <eq name="kaka" value="1" > style="height: 300px";  <else/> style="height: 252px"; </eq>>
			<div class="sys-info">
				<div class="pass-message">
					<volist name="listdb" id="rs">
						<label>昵称：{$rs.nickname}-----留言时间: {$rs.starttime|date='Y-m-d',###}</label><br />
						<label>留言内容: {$rs.content}</label><br/>
						<empty name="lsadfdfr_content">
							<label><font color="red">管理员回复：{$rs.r_content}</font></label>
						</empty> 
						<br /><br />
						<hr>
					</volist>
				</div>
                <!-- <hr> -->
			</div>
		</div>
	</div>
	

